<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@ include file="/wesite/view/common/base.jsp" %>
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport"
          content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>选择支付方式</title>
    <%@ include file="/wesite/view/common/common.jsp" %>
</head>
<body>
<input type="hidden" name="code" value="${code}">
<input type="hidden" name="orderbz" value="${orderbz}">
<div class="select-payment-box">
    <ul>
        <li>
            <div class="selectbox">
                <span>微信支付</span>
                <input type="radio" name="payway" checked="checked" value="1">
            </div>
        </li>
        <li>
            <div class="selectbox">
                <span>货到付款</span>
                <input type="radio" name="payway" value="2">
            </div>
        </li>
    </ul>
    <div class="btn">
        <span onclick="loadOrder()">确定</span>
    </div>
</div>
</body>
<script type="text/javascript">
    function loadOrder() {
        window.location.href = '${ctx}/we/order/selectedPayway/' + $('input[name=\'code\']').val() + '/' + $('input[name=\'payway\']:checked').val()+ '/?bz='+ $("[name='orderbz']").val();
    }

    apiready = function () {
        api.parseTapmode();
    }
</script>
</html>